package com.jic.market.request.rest.discount;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author yinhaijun
 * @date: 2020/4/27
 */
@Data
public class GoodsDetailRequest implements Serializable {
    private static final long serialVersionUID = 6744456396323058411L;

    @ApiModelProperty(notes = "商品编码")
    private String thirdSkuId;
    @ApiModelProperty(notes = "商品数量")
    private Integer num;
    @ApiModelProperty(notes = "单品活动有效数量")
    private Integer singleValidNum;
    @ApiModelProperty(notes = "条件活动有效数量")
    private Integer conditionValidNum;

    @ApiModelProperty(notes = "活动编码")
    private String promotionCode;
    @ApiModelProperty(notes = "活动类型-单品类")
    private Integer frontPromotionType;
    @ApiModelProperty(notes = "活动优惠金额")
    private BigDecimal promotionDiscountTotalAmount;
    @ApiModelProperty(notes = "优惠总运费")
    private BigDecimal promotionDiscountFreightAmount;

    //拼团专用
    @ApiModelProperty(notes = "开团或参团是否成功  true 成功")
    private Boolean launchOrJoinSuccess;
    @ApiModelProperty(notes = "拼团实例编码")
    private String grouponInstCode;

}
